<?php
/* @var $this SourcesController */
/* @var $model sources */

$this->breadcrumbs=array(
	'Sources'=>array('index'),
	$model->source_id,
);

$this->menu=array(
	array('label'=>'List sources', 'url'=>array('index')),
	array('label'=>'Create sources', 'url'=>array('create')),
	array('label'=>'Update sources', 'url'=>array('update', 'id'=>$model->source_id)),
	array('label'=>'Delete sources', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->source_id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage sources', 'url'=>array('admin')),
);
?>

<h1>View sources #<?php echo $model->source_id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'source_id',
		'source_name',
		'source_selector',
		'source_created_at',
		'source_updated_at',
	),
)); ?>
<?php Yii::app()->session['source_id'] =$model->source_id;?>
<a href="index.php?r=rss/create"><?php echo CHtml::encode('Add rss for this source'); ?></a>
